<template>
  <div class="app-topmenu">
    <!-- 系统标题 -->
    <div class="title" @click="router.push('/mapLayout')">
      <img src="@/assets/images/icon/layout/AutoCAD.png" class="titlePic" />
      <span class="titleText">CADToMap</span>
    </div>
  </div>
</template>

<script>
/* eslint-disable */
import { getCurrentInstance, onMounted, reactive, toRefs } from "vue";
import { useRouter } from "vue-router";

export default {
  name: "AppTopmenu",
  setup() {
    const router = useRouter();

    return { router };
  },
};
</script>

<style lang="less" scoped>
@import "../../assets/styles/variables.less";
.app-topmenu {
  position: absolute;
  width: 100%;
  padding-left: 0.5%;
  top: 0%;
  height: 5%;
  z-index: 99999;
  background-color: @mainColor;
  display: flex;
  justify-content: left;
  align-items: center;
}
.titlePic {
  width: 35px;
  margin-top: -17px;
  margin-right: 5px;
}
.titleText {
  font-family: "Agency FB";
  color: white;
  position: relative;
  left: 1.5%;
  // top: 8px;
  font-size: 250%;
  font-weight: bold;
}
</style>